<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ include file="include.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>fotoDB</title>
</head>
<body>
	<div id="content">
		<div class="upload_title1" style="margin-left:360px;">Neues Schlagwort</div>
		<form action="<%=dbmode%>UpdateApp?action=insertKeyword" method="post">
		<div class="table" style="margin-left:360px;">
			<div class="table_cell" style="width:15%;">Schlagwort: </div>
			<div class="table_cell" style="width:50%">
				<input type="text" style="float:left;" name="word">
			</div>
			<div class="table_cell" style="width:50%;font-size:20px;color:#D12F19;'"><c:out value="${msg}" /></div>
		</div>
		<div class="table" style="height:50px;margin-left:360px;">
		<div class="buttons" style="text-align:center; ">
			<button class="positive" name="submit" value="submit" style="float:left;">
        		<img src="images/ok.png" alt=""/> 
        		Speichern
    		</button>
    		<button  class="negative" name="cancel" type="button" onClick="insertCancel()" style="float:right;">
        		<img src="images/cancel_button.png" alt=""/> 
				Zurück
			</button>
		</div>
		</div>
		</form>
	</div>
	
	<script type="text/javascript">
		function insertCancel() {
			location = "<%=dbmode%>SearchApp?searchFor=allCategorieAndKeyword";
		}
	</script>
</body>
</html>
